package com.mxdx.edu.enums;

import java.util.HashMap;
import java.util.Map;

public enum CollegeEnums {

//    20	职业学院
//30	培训学院
//50	考培学院
//40	创业学院
//60	商学院
//20 Career Academy
//30 Training Institute
//50 Kao Pei College
//40 entrepreneurship Academy
//60 business schools

    Career_COLLEGE("20", "职业学院"),
    Training_COLLEGE("30", "培训学院"),
    KAOPEI_COLLEGE("40", "考培学院"),
    ENTERPRENEURSHIP_COLLEGE("50", "创业学院"),
    BUSINESS_COLLEGE("60", "商学院"),
    ;
    private String code;
    private String desc;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    CollegeEnums(String code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public static Map<String,CollegeEnums> collegeMap = new HashMap<>();
    static {
        collegeMap.put(Career_COLLEGE.getCode(),Career_COLLEGE);
        collegeMap.put(Training_COLLEGE.getCode(),Training_COLLEGE);
        collegeMap.put(KAOPEI_COLLEGE.getCode(),KAOPEI_COLLEGE);
        collegeMap.put(ENTERPRENEURSHIP_COLLEGE.getCode(),ENTERPRENEURSHIP_COLLEGE);
        collegeMap.put(BUSINESS_COLLEGE.getCode(),BUSINESS_COLLEGE);
    }


}
